Ui Event Modifier
A DOM UI event that can be fired with the key modifiers.
The UiEventModifier
provides access to the data about pressed service keys, such as <ctrl>
, <alt>
, <shift>
, or <meta>
, when a keyboard or mouse event occurs.
Inheritors
Functions
Link copied to clipboard
Returns an
Optional
that contains the event target that represents the element to which the event handler has been attached, otherwise an empty Optional
.Link copied to clipboard
Returns
true
when the event can be canceled, and therefore prevented as if the event never happened.Link copied to clipboard
Returns the key modifiers that are applied to the event.
Link copied to clipboard
Informs the browser that if the event is not explicitly handled, its default action should not be performed.
Link copied to clipboard
Informs the browser that the event should not propagate in the capturing and bubbling phases.
Link copied to clipboard
Returns an
Optional
that contains the element on which the event occurred if it exists, otherwise an empty Optional
.